<template>
  <h1>属性绑定练习</h1>
  <input type="text" value="abc" placeholder="请输入" readonly>
  <input type="text" value="info">
  <input type="text" v-bind:value="info">
  <input type="text" :value="info">
  <hr>
  <a :href="url">超链接</a>
</template>

<script setup>
import {ref} from 'vue';
const info = ref('属性绑定');
const url = ref('https://www.baidu.com');
url.value='https://www.tmooc.cn';
</script>

<style scoped>

</style>